package de.jonasjelten.jcalc.gui;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

class MemAktualisator
    implements ActionListener
{

    MemAktualisator(MemoryMonitor guistatscomponent)
    {
        statsComponent = guistatscomponent;
    }

    @Override
    public void actionPerformed(ActionEvent actionevent)
    {
        MemoryMonitor.update(statsComponent);
    }

    final MemoryMonitor statsComponent; /* synthetic field */
}
